package deyi.entity;/*
 * Welcome to use the TableGo Tools.
 * 
 * http://vipbooks.iteye.com
 * http://blog.csdn.net/vipbooks
 * http://www.cnblogs.com/vipbooks
 * 
 * Author:bianj
 * Email:edinsker@163.com
 * Version:5.0.0
 */

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * DEVICETYPE
 * 
 * @author bianj
 * @version 1.0.0 2018-01-30
 */
@Entity
@Table(name = "devicetype")
public class DevicetypeEntity {
    /** 版本号 */
    private static final long serialVersionUID = -4882247835962352589L;

    /** 编号 */
    @Id
    @Column(name = "ID", unique = true, nullable = false, length = 10)
    private Integer id;

    /** 设备类型 */
    @Column(name = "DEVICETYPE", nullable = true, length = 100)
    private String devicetype;

    /**  */
    @Column(name = "ROLEID", nullable = true, length = 10)
    private Integer roleid;

    /**
     * 获取编号
     * 
     * @return 编号
     */
    public Integer getId() {
        return this.id;
    }

    /**
     * 设置编号
     * 
     * @param id
     *          编号
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取设备类型
     * 
     * @return 设备类型
     */
    public String getDevicetype() {
        return this.devicetype;
    }

    /**
     * 设置设备类型
     * 
     * @param devicetype
     *          设备类型
     */
    public void setDevicetype(String devicetype) {
        this.devicetype = devicetype;
    }

    /**
     * 获取
     * 
     * @return 
     */
    public Integer getRoleid() {
        return this.roleid;
    }

    /**
     * 设置
     * 
     * @param roleid
     */
    public void setRoleid(Integer roleid) {
        this.roleid = roleid;
    }
}